<template>
  <!-- template起一个分割作用不作为根元素 他里边需要一个根元素 所以写一个div -->
  <div>
    <School></School>
    <Student></Student>
  </div>
</template>

<script>
//引入组件
import Student from "./Student.vue";
import Student from "./Student.vue";

export default {
  name: "App",
  //注册组件
  components: {
    School,
    Student,
  },
};
</script>

<style></style>
